<%@ Page Language="VB" AutoEventWireup="false" CodeFile="ImpRelPesoDoEmpregadoNoCentroDeCusto.aspx.vb" Inherits="ImpRelPesoDoEmpregadoNoCentroDeCusto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>Sistema LIIOn</title>
</head>
<body>
    <form id="form1" runat="server">
    <table style="z-index: 100; left: 0px; top: 2px; position: absolute">
        <tr id="L1">
            
            <td id="L1C2" style="height: 80px; width: 80%; background-color: white;">
                <asp:Label ID="lblCompanhia" runat="server" Style="position: absolute; left: 19px; top: 10px"
                           Text="Companhia BR1 - Ceras Johnson Ltda" Width="700px" Font-Bold="True" ForeColor="Black" Font-Names="Tahoma" Font-Size="Medium">
                </asp:Label>            
                <br />
                <asp:Label ID="lblTitulo" runat="server" Style="z-index: 103; left: 19px; position: absolute; top: 35px"
                           Text="Demonstrativo do calculo de fator de rateio de despesas" Width="700px" Font-Bold="True" ForeColor="Black" Font-Names="Tahoma" Font-Size="Medium"></asp:Label>
                <br />
                <asp:Label ID="lblCompetencia" runat="server" Style="z-index: 103; left: 19px; position: absolute; top: 60px"
                           Text="Mes/Ano: 07/2009" Width="700px" Font-Bold="True" ForeColor="Black" Font-Names="Tahoma" Font-Size="Medium"></asp:Label>
            </td>

        </tr>
        <tr id="L2">
                        
            <td id="L2C2" style="height: 450px; width: 80%; background-color: white;" valign="top">
                <br />
                <asp:GridView ID="gvwData" runat="server" AllowPaging="True" AutoGenerateColumns="False" 
                    CellPadding="4" ForeColor="#333333" GridLines="None" HorizontalAlign="Center" PageSize="30">
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" Font-Names="Tahoma" Font-Size="Small" />
                    <Columns>
                        <asp:BoundField DataField="CodigoDoEstabelecimento" HeaderText="Est."
                            SortExpression="CodigoDoEstabelecimento">
                            <ItemStyle Width="40px" HorizontalAlign="Left" />
                            <HeaderStyle HorizontalAlign="Left" />
                        </asp:BoundField>
                        <asp:BoundField DataField="CodigoDoCentroDeCusto" HeaderText="C. Custo" SortExpression="CodigoDoCentroDeCusto" >
                            <ItemStyle Width="60px" HorizontalAlign="Right" />
                            <HeaderStyle HorizontalAlign="Right" />
                        </asp:BoundField>
                        <asp:BoundField DataField="NumeroDoRegistroDoEmpregado" HeaderText="Registro" SortExpression="NumeroDoRegistroDoEmpregado">
                            <HeaderStyle HorizontalAlign="Right" />
                            <ItemStyle HorizontalAlign="Right" Width="40px" />
                        </asp:BoundField>
			<asp:BoundField DataField="NomeDoEmpregado" HeaderText="Nome do Funcionario" SortExpression="NomeDoEmpregado" >
                            <ItemStyle Width="300px" HorizontalAlign="Left" />
                <HeaderStyle HorizontalAlign="Center" />
                        </asp:BoundField>
                        <asp:BoundField DataField="PorcentagemDeParticipacao" HeaderText="Peso"
                            SortExpression="PorcentagemDeParticipacao">
                            <HeaderStyle HorizontalAlign="Right" />
                            <ItemStyle HorizontalAlign="Right" Width="50px" />
                        </asp:BoundField>
                    </Columns>
                    <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="True" />
                    <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
                    <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" Font-Names="Tahoma" Font-Size="Small" />
                    <EditRowStyle BackColor="#999999" />
                    <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
                </asp:GridView>
                &nbsp;
            </td>
                        
        </tr>
        <tr id="L3">
            
            <td id="L3C2" style="height: 12px; width: 80%; background-color: white;">
                <asp:Label 
                    ID="lblMsg" runat="server" 
                    Style="position: static; width: 750px;" 
                    Text=" " 
                    Font-Bold="True" Font-Names="Tahoma" Font-Size="Small" ForeColor="Red" Width="400px" Visible="False"></asp:Label></td>
            
        </tr>
        <tr id="L4">            
            <td id="L4C2" style="height: 30px; width: 80%; background-color: white;">
                &nbsp;                
                <asp:Button ID="btnImprimir" runat="server" Style="z-index: 100; left: 1px; position: relative; top: 1px" Text="Imprimir" Width="70px" Font-Names="Tahoma" Font-Size="Small" Visible="False"/>
                &nbsp;&nbsp;
                <asp:Button ID="btnVoltar" runat="server" Style="z-index: 100; left: 9px; position: relative; top: 1px" Text="Voltar" Width="70px" Font-Names="Tahoma" Font-Size="Small" Visible="False"/>
                </td>
        </tr>
    </table>
   </form>
</body>
</html>